﻿  <!--搜索框-->

    <p id="lg">
      <img src="images/gudahu-logo.png">
    </p>
    <div id="fm">
      <form action="#" onsubmit="javascript:void(0);">
        <input name="keyword" id="kw" maxlength="100" style="width:474px;height=20px;" type="text">
        <span class="btn_wr">
          <input value="搜一下" id="su" class="btn" type="submit" onclick="javascript:queryTopHolder()">
        </span>
      </form>
    </div>

  
<script type="text/javascript">
	function queryTopHolder() {
		var keyword = document.getElementById("kw").value;
		
		if (keyword) {
		    var url = "http://www.gudahu.com/hotKeyword.php?keyword=" + keyword;
        window.open(url, keyword, 'width=900, height=600, top=100, left=200, toolbar=no, menubar=no, scrollbars=yes, location=yes, resizable=no, status=no');
		}
	}
</script> 